Name of the source module without read rights

Hi All

I have to manage objects with incoming links and their source objects.

I'm not able to get the name of a source module when the access rights are set to None for me.

Is there a way to know the name of a source module when you have no access rights on it ? I would like to log this issue !!

Thanks and regards

David Bataille
SystemAdmin - Wed Aug 12 12:15:44 EDT 2009

Re: Name of the source module without read rights
llandale - Wed Aug 12 14:05:36 EDT 2009

You cannot get a handle on incoming 'Link's without opening the source module, which you cannot do without Read rights. Perhaps this will work:

ModName_ mn
for mn in obj <-"*" do
{  print fullName(mn) "\n"
}
or perhaps this:
LinkRef lr
for lr in obj <-"*" do
{  string Name1 = source(lr)
   ModName_ mn = source(lr)
   string Name2 = name(mn)
   print Name1 "\t" Name2 "\n"
}

 

 

  • Louie

 

 

Re: Name of the source module without read rights
SystemAdmin - Thu Aug 13 03:47:59 EDT 2009

llandale - Wed Aug 12 14:05:36 EDT 2009

You cannot get a handle on incoming 'Link's without opening the source module, which you cannot do without Read rights. Perhaps this will work:

ModName_ mn
for mn in obj <-"*" do
{  print fullName(mn) "\n"
}
or perhaps this:
LinkRef lr
for lr in obj <-"*" do
{  string Name1 = source(lr)
   ModName_ mn = source(lr)
   string Name2 = name(mn)
   print Name1 "\t" Name2 "\n"
}

 

 

  • Louie

 

 

Thanks Louie

I agree with that but I just wanted the name of the source module using linkref. I didn't want any handle

Regards

Re: Name of the source module without read rights
Ron_Lewis - Thu Aug 13 09:18:04 EDT 2009

thommen31, you said "I have to manage objects with incoming links and their source objects."

Therefore your trying to use dxl to read module name that are hidden to you is apparently the wrong approach. You need to go to the admin and get permissions.

However, if you are just currious about the name -- you can look at link sets to try and determine the module name.

Re: Name of the source module without read rights
dpechacek - Thu Aug 13 09:36:15 EDT 2009

Ron_Lewis - Thu Aug 13 09:18:04 EDT 2009
thommen31, you said "I have to manage objects with incoming links and their source objects."

Therefore your trying to use dxl to read module name that are hidden to you is apparently the wrong approach. You need to go to the admin and get permissions.

However, if you are just currious about the name -- you can look at link sets to try and determine the module name.

Should incoming links from a module you have no read access to even show up in the target objects link list? That sounds like a bug or poorly implemented feature to me.

AAI Services, Textron
dpechacek@aai.textron.com
David.Pechacek@gmail.com